package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频对象 admin_video
 * 
 * @author ruoyi
 * @date 2020-06-17
 */
public class AdminVideo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频id */
    @Excel(name = "视频id")
    private Long videoId;

    /** 视频编号 */
    private String videoNo;

    /** 视频名称 */
    @Excel(name = "视频名称")
    private String videoName;

    /** 视频地址 */
    private String video;

    /** 视频介绍 */
    private String introduce;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 所属单位 */
    private Long companyId;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private String companyName;

    /** 帐号状态（0正常 1停用） */
    private String delFlag;

    /** 用户Id */
    private Long userId;


    /** 课时编号 */
    private Long preidId;

    /** 课时ID */
    private String addPeriedFlag;

    public String getAddPeriedFlag () {
      return addPeriedFlag;
    }

    public void setAddPeriedFlag (String addPeriedFlag) {
      this.addPeriedFlag = addPeriedFlag;
    }

    public Long getPreidId () {
      return preidId;
    }

    public void setPreidId (Long preidId) {
      this.preidId = preidId;
    }

    public void setVideoId(Long videoId)
    {
        this.videoId = videoId;
    }

    public Long getVideoId() 
    {
        return videoId;
    }
    public void setVideoNo(String videoNo) 
    {
        this.videoNo = videoNo;
    }

    public String getVideoNo() 
    {
        return videoNo;
    }
    public void setVideoName(String videoName) 
    {
        this.videoName = videoName;
    }

    public String getVideoName() 
    {
        return videoName;
    }
    public void setVideo(String video) 
    {
        this.video = video;
    }

    public String getVideo() 
    {
        return video;
    }
    public void setIntroduce(String introduce) 
    {
        this.introduce = introduce;
    }

    public String getIntroduce() 
    {
        return introduce;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("videoId", getVideoId())
            .append("videoNo", getVideoNo())
            .append("videoName", getVideoName())
            .append("video", getVideo())
            .append("introduce", getIntroduce())
            .append("status", getStatus())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
